# -*- coding:utf-8 -*-

import xadmin
from message.models import Message

   
class MessageAdmin(object):
    list_display = ('content', 'category', 'username', 'response', 'date')
    search_fields = ['content']
    list_filter = ['category', 'username']
              
xadmin.site.register(Message, MessageAdmin)




